package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 活动对象 activities
 * 
 * @author ruoyi
 * @date 2024-07-04
 */
public class Activities extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 活动id */
    @Excel(name = "活动id")
    private Long activeId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long activeUserId;

    /** 活动去向 */
    @Excel(name = "活动去向")
    private String activeArea;

    /** 活动状态 */
    @Excel(name = "活动状态")
    private Long activeState;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date activeUpdatetime;

    public void setActiveId(Long activeId) 
    {
        this.activeId = activeId;
    }

    public Long getActiveId() 
    {
        return activeId;
    }
    public void setActiveUserId(Long activeUserId) 
    {
        this.activeUserId = activeUserId;
    }

    public Long getActiveUserId() 
    {
        return activeUserId;
    }
    public void setActiveArea(String activeArea) 
    {
        this.activeArea = activeArea;
    }

    public String getActiveArea() 
    {
        return activeArea;
    }
    public void setActiveState(Long activeState) 
    {
        this.activeState = activeState;
    }

    public Long getActiveState() 
    {
        return activeState;
    }
    public void setActiveUpdatetime(Date activeUpdatetime) 
    {
        this.activeUpdatetime = activeUpdatetime;
    }

    public Date getActiveUpdatetime() 
    {
        return activeUpdatetime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("activeId", getActiveId())
            .append("activeUserId", getActiveUserId())
            .append("activeArea", getActiveArea())
            .append("activeState", getActiveState())
            .append("activeUpdatetime", getActiveUpdatetime())
            .toString();
    }
}
